<?php
require_once("Includes.php");
require_once("Resource.class.php");

class Equipment extends Resource
    {
     protected static $table_name="equipment";
	   protected static $db_fields = array('ID','resource_ID', 'date' , 'model' , 'state' , 'equipment_type');
     protected $ID;
     protected $resource_ID;
	   protected $date;
	   protected $model;
	   protected $state;
     protected $equipment_type;


  public function set_id($ID)
   {
     $this->ID = $ID;
   }

   public function get_id()
   {
     return $this->ID;
   }

  public function set_resource_id($ID)
  {
    $this->resource_ID = $ID;
  }

  public function get_resource_id()
  {
    return $this->name;
  }
	 
  public function set_date($date)
  {
    $this->date = $date;
  }

  public function get_date()
  {
    return $this->date;
  }
	 
  public function set_model($model)
  {
    $this->model = $model;
  }

  public function get_model()
  {
    return $this->model;
  }
	 
  public function set_state($state)
  {
    $this->state = $state;
  }

  public function get_state()
  {
    return $this->state;
  }
	 
  public function set_equipment_type($type)
  {
    $this->equipment_type = $type;
  }

  public function get_equipment_type()
  {
    return $this->equipment_type;
  }	
}
?>